package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 教师详细信息表
 */
@Data
@TableName(value = "org_teacher_student")
public class OrgTeacherStudent {

	/** 主键 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/** 机构id */
	@TableField(value = "org_id")
	private Integer orgId;

	/** 机构的虚拟账号 */
	@TableField(value = "teacher_id")
	private String teacherId;

	/** 学生 ID */
	@TableField(value = "student_id")
	private String studentId;

	/** 师生关系创建时间 */
	@TableField(value = "create_time")
	private LocalDateTime createTime;

	public static final String COL_ID = "id";

	public static final String COL_ORG_ID = "org_id";

	public static final String COL_TEACHER_ID = "teacher_id";

	public static final String COL_STUDENT_ID = "student_id";
}